﻿@{
    
    Html.IncludeScript("~/Applications/Group/Scripts/jquery.spb.group.js", ResourceRenderPriority.Last);
    
    Layout = "app-list-2cols";
    Html.IncludeCss("~/Applications/Bar/Styles/app.css", ResourceRenderPriority.Last);
    Html.IncludeScript("~/Applications/Bar/Scripts/jquery.spb.bar.js", ResourceRenderPriority.Last);
    var group = ViewData.Get<GroupEntity>("group", null);
}
@section Aside{
    @Html.Action("_BarThreadSearch", "GroupSpaceBar", new { spaceKey = Url.SpaceKey() })
    @Html.Action("_TagCloud", "GroupSpaceBar", new { spaceKey = Url.SpaceKey() })
}
<div class="tn-box tn-widget tn-widget-content tn-corner-all spb-bar-crumbs">
    <div class="tn-box-content tn-widget-content tn-corner-all">
        <div class="tn-breadcrumb tn-helper-clearfix">
            <div class="tn-avatar-mini">
                <a href="@SiteUrls.Instance().GroupHome(group.GroupKey)" title="@group.GroupName"><img width="25" src="@SiteUrls.Instance().LogoUrl(group.Logo, TenantTypeIds.Instance().Group(), ImageSizeTypeKeys.Instance().Small())"/></a>
            </div>
            <span class="tn-breadcrumb-item"><a title="@group.GroupName" href="@SiteUrls.Instance().GroupHome(Url.SpaceKey())">@StringUtility.Trim(group.GroupName, 10)</a></span><span class="tn-seperator">&gt;</span><span class="tn-breadcrumb-item"><a title="讨论" href="@SiteUrls.Instance().GroupSectionDetail(Url.SpaceKey())">讨论</a></span><span class="tn-seperator">&gt;</span><span class="tn-selected">标签云图</span></div>
    </div>
</div>
@Html.Action("_TagCloud", "GroupSpace", new { area = "Group", topNumber = 100,ownerId=GroupIdToGroupKeyDictionary.GetGroupId(Url.SpaceKey()), tenantTypeId = TenantTypeIds.Instance().BarThread() })
